<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../fabric.js"></script>
    <style>
        body{
            background-color:#ccc;
        }
        #main{
            background-color:#fff;
            border: 1px solid #000;
        }
        
    </style>
</head>
<body>
    <canvas id="main" width="800" height="800"></canvas>
    <script type="text/javascript" src="./script.js"></script>
</body>
</html>